<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Post Reply';
$this->breadcrumbs=array(
	'Post',
);
?>

<h1>Post Reply</h1>


<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'reply-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>
	
	<div class="row">
	<?php echo $form->hiddenField($model,'postid',array('value'=>$_GET['id'])); ?>
		<?php echo $form->labelEx($model,'content'); ?>
		<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'content'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Reply'); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
